<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<table border=1>


<c:forEach items="${products }" var="product">
<tr>
<td>${product.bookname }</td>
<td>${product.bookprice }</td>
<td>${product.bookcount }</td>
<td>${product.booksprice }</td>
</tr>
</c:forEach>
</table>
<a href="<%=request.getContextPath() %>/index.jsp">继续购物</a>
<a href="#">去收银台结算</a>
</body>
</html>